package com.cqie.teacherserver.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 老师报告推送记录
 * </p>
 *
 * @author zhangr132
 * @since 2024-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("teacher_report_push_log")
@ApiModel(value="TeacherReportPushLog对象", description="老师报告推送记录")
public class TeacherReportPushLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "教师工号")
    private String teacherCode;

    @ApiModelProperty(value = "推送类型0:教师报告,1:院系报告")
    private Integer pushType;

    @ApiModelProperty(value = "推送时间")
    private LocalDateTime pushDate;

    @ApiModelProperty(value = "推送结果默认0:未推送,1:推送成功,2:推送失败")
    private Integer pushResult;

    @ApiModelProperty(value = "推送失败原因")
    private String pushFailureMsg;


}
